﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IndyMosaic.Models.Web.NewsItem>" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	NewNewsItem
</asp:Content>

<asp:Content id="headerContent" runat="server" contentplaceholderid="HeaderContent">
    <link rel="stylesheet" type="text/css" href="../Scripts/cleditor/jquery.cleditor.css" />
    <script type="text/javascript" src="../Scripts/cleditor/jquery.cleditor.min.js"></script>
    <script type="text/javascript" src="../Scripts/cleditor/jquery.cleditor.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var editor = $("#entry_content").cleditor({ width: 696, height: 241 });
        });
        
    </script>
    <style type="text/css">
        iframe
        { 
            background: url('../Content/Images/newsbackground.png');
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>NewNewsItem</h2>
    <% using (Html.BeginForm()) {%>
            <% Html.RenderPartial("NewsItemForm"); %>
            <p>
                <input type="submit" value="Create" />
            </p>
    <% } %>


    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

